package com.simple.piger.service;


import com.baomidou.mybatisplus.service.IService;
import com.simple.piger.dto.req.InviteRecordReqDto;
import com.simple.piger.dto.resp.InviteRecordRespDto;
import com.simple.piger.dto.resp.company.InviteCompanyEmpRespDto;
import com.simple.piger.entity.InviteRecord;
import com.simple.piger.utils.AjaxResult;

import java.util.List;

/**
 * <p>
 * 求职记录 服务类
 * </p>
 *
 * @author baolw
 * @since 2020-02-06
 */
public interface InviteRecordService extends IService<InviteRecord> {

    AjaxResult invite(InviteRecordReqDto reqDto);

    List<InviteRecordRespDto> list(Integer page, Integer limit,String cmsSysUserId);

    int count(String cmsSysUserId);

    List<InviteRecordRespDto> companyList(Integer page, Integer limit, String cmsSysUserId, String userId);

    int companyListCount(String cmsSysUserId, String companyId);
}
